Skip to main content

DeserializeType<TSerializer>

Assembly: ServiceStack.Text.dll
View Source
Declaration
public static class DeserializeType<TSerializer>
where TSerializer : ITypeSerializer

Methods

ObjectStringToType(ReadOnlySpan<Char>)

View Source
Declaration
public static object ObjectStringToType(ReadOnlySpan<char> strType)
Returns

System.Object

Parameters
TypeName
ReadOnlySpan<System.Char>strType

ExtractType(String)

View Source
Declaration
public static Type ExtractType(string strType)
Returns

System.Type

Parameters
TypeName
System.StringstrType

ExtractType(ReadOnlySpan<Char>)

View Source
Declaration
public static Type ExtractType(ReadOnlySpan<char> strType)
Returns

System.Type

Parameters
TypeName
ReadOnlySpan<System.Char>strType

ParseAbstractType<T>(ReadOnlySpan<Char>)

View Source
Declaration
public static object ParseAbstractType<T>(ReadOnlySpan<char> value)
Returns

System.Object

Parameters
TypeName
ReadOnlySpan<System.Char>value
Type Parameters
  • T

ParseQuotedPrimitive(String)

View Source
Declaration
public static object ParseQuotedPrimitive(string value)
Returns

System.Object

Parameters
TypeName
System.Stringvalue

ParsePrimitive(String)

View Source
Declaration
public static object ParsePrimitive(string value)
Returns

System.Object

Parameters
TypeName
System.Stringvalue

ParsePrimitive(ReadOnlySpan<Char>)

View Source
Declaration
public static object ParsePrimitive(ReadOnlySpan<char> value)
Returns

System.Object

Parameters
TypeName
ReadOnlySpan<System.Char>value